cmake_minimum_required(VERSION 3.28)
project(example)

set(CMAKE_CXX_STANDARD 17)

include_directories("${PROJECT_SOURCE_DIR}/src/include")

set(SOURCE
        src/list.cpp)

# 添加静态库
add_library(mylib STATIC ${SOURCE})

add_executable(example main.cpp)

target_link_libraries(example mylib)
